import React, { Component } from 'react';
import {Route} from 'react-router-dom'

export function myWithRouter(Com){
    return class tool extends Component {
        render() {
            return (
                <Route component={Com} />
            );
        }
    }
}